package org.jeecg.modules.bv.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 票据报废
 * @Author: jeecg-boot
 * @Date:   2022-03-09
 * @Version: V1.0
 */
@Data
@TableName("mws_t_bv_scrappeds")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mws_t_bv_scrappeds对象", description="票据报废")
public class BvScrappeds implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**票据类型*/
	@Excel(name = "票据类型", width = 15, dicCode = "bill_type_id")
	@Dict(dicCode = "bill_type_id")
    @ApiModelProperty(value = "票据类型")
    private java.lang.String billTypeId;
    /**票据版本号*/
    @Excel(name = "票据版本号", width = 15, dictTable = "mws_t_bv_versions", dicText = "version_no", dicCode = "id")
    @Dict(dictTable = "mws_t_bv_versions", dicText = "version_no", dicCode = "id")
    @ApiModelProperty(value = "票据版本号")
    private java.lang.String versionId;
	/**报废开始号*/
	@Excel(name = "报废开始号", width = 15)
    @ApiModelProperty(value = "报废开始号")
    private java.math.BigDecimal voucherBeginNo;
	/**报废结果号*/
	@Excel(name = "报废结果号", width = 15)
    @ApiModelProperty(value = "报废结果号")
    private java.math.BigDecimal voucherEndNo;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal amount;
	/**报废原因*/
	@Excel(name = "报废原因", width = 15, dicCode = "bill_scrapped_cause")
	@Dict(dicCode = "bill_scrapped_cause")
    @ApiModelProperty(value = "报废原因")
    private java.lang.String billScrappedCause;
	/**状态*/
	@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**同步标识*/
	@Excel(name = "同步标识", width = 15)
    @ApiModelProperty(value = "同步标识")
    private java.lang.Integer syncFlag;
	/**最后同步时间*/
	@Excel(name = "最后同步时间", width = 15)
    @ApiModelProperty(value = "最后同步时间")
    private java.lang.String syncDatetime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**部门编码*/
    @ApiModelProperty(value = "部门编码")
    private java.lang.String sysOrgCode;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private java.lang.Integer delFlag;
	/**租户网点*/
	@Excel(name = "租户网点", width = 15)
    @ApiModelProperty(value = "租户网点")
    private java.lang.Integer tenantId;
}
